Optimal. Leaf size=60 \[ \frac {6 \sqrt {1-a^2 x^2}}{a}-6 x \text {ArcCos}(a x)-\frac {3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{a}+x \text {ArcCos}(a x)^3 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4716, 4768, 267}
\begin {gather*} -\frac {3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{a}+\frac {6 \sqrt {1-a^2 x^2}}{a}+x \text {ArcCos}(a x)^3-6 x \text {ArcCos}(a x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 4716
Rule 4768
Rubi steps
\begin {align*} \int \cos ^{-1}(a x)^3 \, dx &=x \cos ^{-1}(a x)^3+(3 a) \int \frac {x \cos ^{-1}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-6 \int \cos ^{-1}(a x) \, dx\\ &=-6 x \cos ^{-1}(a x)-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-(6 a) \int \frac {x}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {6 \sqrt {1-a^2 x^2}}{a}-6 x \cos ^{-1}(a x)-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 60, normalized size = 1.00 \begin {gather*} \frac {6 \sqrt {1-a^2 x^2}}{a}-6 x \text {ArcCos}(a x)-\frac {3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^2}{a}+x \text {ArcCos}(a x)^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 57, normalized size = 0.95
method | result | size |
derivativedivides | \(\frac {a x \arccos \left (a x \right )^{3}-3 \arccos \left (a x \right )^{2} \sqrt {-a^{2} x^{2}+1}+6 \sqrt {-a^{2} x^{2}+1}-6 a x \arccos \left (a x \right )}{a}\) | \(57\) |
default | \(\frac {a x \arccos \left (a x \right )^{3}-3 \arccos \left (a x \right )^{2} \sqrt {-a^{2} x^{2}+1}+6 \sqrt {-a^{2} x^{2}+1}-6 a x \arccos \left (a x \right )}{a}\) | \(57\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 59, normalized size = 0.98 \begin {gather*} x \arccos \left (a x\right )^{3} - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} \arccos \left (a x\right )^{2}}{a} - \frac {6 \, {\left (a x \arccos \left (a x\right ) - \sqrt {-a^{2} x^{2} + 1}\right )}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.95, size = 44, normalized size = 0.73 \begin {gather*} \frac {a x \arccos \left (a x\right )^{3} - 6 \, a x \arccos \left (a x\right ) - 3 \, \sqrt {-a^{2} x^{2} + 1} {\left (\arccos \left (a x\right )^{2} - 2\right )}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 60, normalized size = 1.00 \begin {gather*} \begin {cases} x \operatorname {acos}^{3}{\left (a x \right )} - 6 x \operatorname {acos}{\left (a x \right )} - \frac {3 \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{2}{\left (a x \right )}}{a} + \frac {6 \sqrt {- a^{2} x^{2} + 1}}{a} & \text {for}\: a \neq 0 \\\frac {\pi ^{3} x}{8} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 56, normalized size = 0.93 \begin {gather*} x \arccos \left (a x\right )^{3} - 6 \, x \arccos \left (a x\right ) - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} \arccos \left (a x\right )^{2}}{a} + \frac {6 \, \sqrt {-a^{2} x^{2} + 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.31, size = 59, normalized size = 0.98 \begin {gather*} \left \{\begin {array}{cl} \frac {x\,\pi ^3}{8} & \text {\ if\ \ }a=0\\ -x\,\left (6\,\mathrm {acos}\left (a\,x\right )-{\mathrm {acos}\left (a\,x\right )}^3\right )-\frac {\sqrt {1-a^2\,x^2}\,\left (3\,{\mathrm {acos}\left (a\,x\right )}^2-6\right )}{a} & \text {\ if\ \ }a\neq 0 \end {array}\right . \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________